//
//  TaskWithSetDefaultLocal.m
//  DuBai
//
//  Created by lt on 14-4-2.
//  Copyright (c) 2014年 darktm. All rights reserved.
//

#import "TaskWithSetDefaultLocal.h"

@implementation TaskWithSetDefaultLocal

-(void)prepare{
    
    NSMutableDictionary *mDic = [NSMutableDictionary dictionaryWithCapacity:3];
    [mDic setValue:self.localType forKey:@"local"];

    [self startAsyncWithParams:mDic withMethod:@"POST" withURL:[Configure setDefaultLocal]];
}

-(id)parese{
    
    [[NSUserDefaults standardUserDefaults] setValue:self.rcvData forKey:@"session"];
    [[NSUserDefaults standardUserDefaults] synchronize];
    
    return nil;
}

@end
